from flask import Flask

# 创建出一个app对象
app = Flask(__name__)

# http://xx.xx.xx.xx:xx/index
@app.route("/index")
def index():
    return "Hello World"


# 启动
if __name__ == '__main__':
    app.run(debug=True)
